﻿package extremefx.ui {
	import extremefx.geom.Edge;
	
	import flash.display.DisplayObject;		

	/**
	 * @author Marcelo Volmaro
	 */
	public class Icon {
		private var _shape:DisplayObject; 
		private var _align:uint; 
		private var _padding:Edge;

		public function Icon(pShape:DisplayObject = null, pAlign:uint = 0, pPadding:Edge = null) {
			_shape = pShape;
			_align = pAlign;
			_padding = (pPadding is Edge ? pPadding : new Edge());
		}

		public function get shape():DisplayObject { 
			return _shape; 
		} 

		public function get align():uint { 
			return _align; 
		} 

		public function get padding():Edge { 
			return _padding; 
		} 
	}
}
